package com.incar.chuxing.bean;

import java.util.List;

/**
 * Created by 17310 on 2018/10/12.
 */

public class AbatementMoneyBean {

    /**
     * status : 200
     * message : 操作成功
     * debug : null
     * attachment : {"gradeList":[{"gradeName":"s","gradeId":"1","abatementMoney":"2"},{"gradeName":"s","gradeId":"1","abatementMoney":"2"}],"bookingCarDuration":{"max":"1600","min":"3600"}}
     */

    private int status;
    private String message;
    private Object debug;
    private AttachmentBean attachment;

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public Object getDebug() {
        return debug;
    }

    public void setDebug(Object debug) {
        this.debug = debug;
    }

    public AttachmentBean getAttachment() {
        return attachment;
    }

    public void setAttachment(AttachmentBean attachment) {
        this.attachment = attachment;
    }

    public static class AttachmentBean {
        /**
         * gradeList : [{"gradeName":"s","gradeId":"1","abatementMoney":"2"},{"gradeName":"s","gradeId":"1","abatementMoney":"2"}]
         * bookingCarDuration : {"max":"1600","min":"3600"}
         */

        private BookingCarDurationBean bookingCarDuration;
        private List<GradeListBean> gradeList;

        public BookingCarDurationBean getBookingCarDuration() {
            return bookingCarDuration;
        }

        public void setBookingCarDuration(BookingCarDurationBean bookingCarDuration) {
            this.bookingCarDuration = bookingCarDuration;
        }

        public List<GradeListBean> getGradeList() {
            return gradeList;
        }

        public void setGradeList(List<GradeListBean> gradeList) {
            this.gradeList = gradeList;
        }

        public static class BookingCarDurationBean {
            /**
             * max : 1600
             * min : 3600
             */

            private String max;
            private String min;

            public String getMax() {
                return max;
            }

            public void setMax(String max) {
                this.max = max;
            }

            public String getMin() {
                return min;
            }

            public void setMin(String min) {
                this.min = min;
            }
        }

        public static class GradeListBean {
            /**
             * gradeName : s
             * gradeId : 1
             * abatementMoney : 2
             */

            private String gradeName;
            private int gradeId;
            private String abatementMoney;
            private boolean checked = true;

            public boolean isChecked() {
                return checked;
            }

            public void setChecked(boolean checked) {
                this.checked = checked;
            }

            public String getGradeName() {
                return gradeName;
            }

            public void setGradeName(String gradeName) {
                this.gradeName = gradeName;
            }

            public int getGradeId() {
                return gradeId;
            }

            public void setGradeId(int gradeId) {
                this.gradeId = gradeId;
            }

            public String getAbatementMoney() {
                return abatementMoney;
            }

            public void setAbatementMoney(String abatementMoney) {
                this.abatementMoney = abatementMoney;
            }
        }
    }
}
